package com.xxkk.mvc.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.UUID;

/**
 * @author xxkk
 * @version 1.0.0
 * @title GoogleVerifiedCtl
 * @description ʕ•ᴥ•ʔ
 * @create 2024/11/11 17:30
 **/
@Controller
@RequestMapping(value = "/g")
public class GoogleVerifiedCtl {

    @RequestMapping("/v")
    @ResponseBody
    public String generatorId(HttpServletRequest request, HttpServletResponse response) {//@RequestBody Map<String, Object> paramMap,

        return UUID.randomUUID().toString().replace("-", "");

    }
}
